import request from '@/utils/request'

export function listSeat(query) {
  return request({
    url: '/seat/list',
    method: 'get',
    params: query
  })
}

export function createSeat(data) {
  return request({
    url: '/seat/create',
    method: 'post',
    data
  })
}

export function updateSeat(data) {
  return request({
    url: '/seat/update',
    method: 'post',
    data
  })
}

export function deleteSeat(data) {
  return request({
    url: '/seat/delete',
    method: 'post',
    data
  })
}
